Juan Pablo Ugarte [Fri, 25 Apr 2014 22:18:28 +0000 (19:18 -0300)]
Fixed crash in GtkLockButton if a button with permission set to NULL is clicked.
https://bugzilla.gnome.org/show_bug.cgi?id=728992
Matthias Clasen [Sat, 26 Apr 2014 02:07:13 +0000 (22:07 -0400)]
GtkWindow: Avoid a critical in F10 handling
The focus widget might be NULL, and we were forgetting to take
that possibility into account in one place.
Matthias Clasen [Thu, 24 Apr 2014 05:36:36 +0000 (01:36 -0400)]
tests: add missing files to EXTRA_DIST
https://bugzilla.gnome.org/show_bug.cgi?id=728846
Matthias Clasen [Thu, 24 Apr 2014 05:06:14 +0000 (01:06 -0400)]
Add missing templates to testdialog
This makes the template test cases not crash. The templates also
serve to test the new action widget support.
https://bugzilla.gnome.org/show_bug.cgi?id=728846
Matthias Clasen [Thu, 24 Apr 2014 05:32:50 +0000 (01:32 -0400)]
GtkDialog: Update suggested-action more carefully
We were not really handling all cases correctly here. We want
the suggested-action style class to only be set on headerbar
buttons, and it should be set on the default widget. Ensure
this by syncing the suggested-action style class with the
default style class. As a side-effect, setting has-default
on an action widget in ui files will now have the expected
effect.
https://bugzilla.gnome.org/show_bug.cgi?id=728846
Matthias Clasen [Thu, 24 Apr 2014 04:28:13 +0000 (00:28 -0400)]
GtkDialog: Support adding action widgets in ui files
GtkDialog has convenience API for adding action widgets that are
either placed in the action area or the headerbar. This commit
makes the same functionality available from GtkBuilder ui files
by specifying "action" as the child type.
https://bugzilla.gnome.org/show_bug.cgi?id=728846
Antoine Jacoutot [Fri, 25 Apr 2014 12:37:59 +0000 (14:37 +0200)]
openbsd: properly set len for gtkmountoperation-x11
sysctl(3) is the correct way to get the lenght for len in this case.
Also drop unused headers and change style to match the rest of the file.
Matthias Clasen [Fri, 25 Apr 2014 03:35:18 +0000 (23:35 -0400)]
GtkMenuButton: use popovers by default
When constructing from a menu model, use popovers by default.
This change has the potential to cause some size problems for
applications with big gear menus, so we're doing it early in
the cycle to uncover and fix those.
Marc-André Lureau [Mon, 15 Oct 2012 16:07:46 +0000 (18:07 +0200)]
gdk/win32: VK_SNAPSHOT maps to GDK_Print
Also, I am not sure the above VK_PRINT -> GDK_Print mapping is
correct, but it doesn't hurt yet.
https://bugzilla.gnome.org/show_bug.cgi?id=686170
Marc-André Lureau [Tue, 22 Apr 2014 17:47:47 +0000 (19:47 +0200)]
win32: add more clipboard data checks to avoid crash
It may happen that the received clipboard data is empty, but
if it's of type image/bmp, gtk+ will crash:
gdk_property_change:
00030AD4 GDK_SELECTION image/bmp REPLACE 8*0 bits:
... delayed rendering
gdk_selection_send_notify_for_display:
00030AD4 CLIPBOARD image/bmp
GDK_SELECTION (no-op)
_gdk_win32_selection_convert_to_dib:
1252003C image/bmp
Program received signal SIGSEGV, Segmentation fault.
0x749a9f40 in msvcrt!memmove () from C:\Windows\syswow64\msvcrt.dll
Thread 1 (Thread 2248.0x1b34):
target=0xc07b) at gdkselection-win32.c:1292
at gdkevents-win32.c:3498
wparam=8, lparam=0) at gdkevents-win32.c:232
message=773, wparam=8, lparam=0)
at gdkevents-win32.c:263
C:\Windows\syswow64\user32.dll
C:\Users\rugoosse\AppData\Local\virt-viewer\bin\libpangocairo-1.0-0.dll
wparam=0, lparam=-
1687549457)
at gdkevents-win32.c:248
C:\Users\rugoosse\AppData\Local\virt-viewer\bin\libpangocairo-1.0-0.dll
https://bugzilla.gnome.org/show_bug.cgi?id=728745
Руслан Ижбулатов [Wed, 23 Apr 2014 16:10:33 +0000 (16:10 +0000)]
W32: Add modelbutton styles
According to what i've been told, modelbuttons are supposed to look
flat, like menu items.
This is basically an improved copy of the menuitem styles.
https://bugzilla.gnome.org/show_bug.cgi?id=728810
Руслан Ижбулатов [Wed, 23 Apr 2014 16:01:06 +0000 (16:01 +0000)]
W32: Add a set of "focused" styles to checkmarks
This prevents checkmarks in modelbuttons from being styled as buttons
(apparently, modelbuttons apply "focused" to their children, unlike
normal buttons).
https://bugzilla.gnome.org/show_bug.cgi?id=728808
Руслан Ижбулатов [Wed, 23 Apr 2014 15:58:45 +0000 (15:58 +0000)]
W32: Fix dummy prelight style for check/radio buttons
Use a dummy transparent gradient instead of actual color (which screws up
focus rectangle on prelight), and apply to non-prelight state as well.
https://bugzilla.gnome.org/show_bug.cgi?id=728807
Руслан Ижбулатов [Wed, 23 Apr 2014 15:57:24 +0000 (15:57 +0000)]
W32: remove the blue "selected" rectangle when activating a checkbutton
https://bugzilla.gnome.org/show_bug.cgi?id=728806
Matthias Clasen [Thu, 24 Apr 2014 03:25:30 +0000 (23:25 -0400)]
Add all version macros to the docs
Matthias Clasen [Thu, 24 Apr 2014 03:25:07 +0000 (23:25 -0400)]
Add GDK_VERSION_3_14
https://bugzilla.gnome.org/show_bug.cgi?id=728814
Yosef Or Boczko [Wed, 23 Apr 2014 09:50:51 +0000 (12:50 +0300)]
Updated Hebrew translation
Matthias Clasen [Wed, 23 Apr 2014 04:05:15 +0000 (00:05 -0400)]
dialog: keep action area stretched out
Adding an extra box in between had the side effect of
making the action area no longer go all across the dialog.
Setting hexpand compensates for this.
Carlos Garnacho [Thu, 17 Apr 2014 12:19:39 +0000 (14:19 +0200)]
wayland: handle the wl_touch interface
The events are routed through a new slave device with type
GDK_SOURCE_TOUCHSCREEN, minimal tracking of touches is done
to keep the state for each of those.
https://bugzilla.gnome.org/show_bug.cgi?id=728426
Carlos Garnacho [Thu, 17 Apr 2014 11:15:08 +0000 (13:15 +0200)]
wayland: Separate master devices from seat capabilities
The master pointer/keyboard pair should never disappear or be
inconsistent. The seat capabilities are now reflected through
slave devices, those may come and go freely as the seat
capabilities change. This also enables adding further capabilities
to handle eg. touch.
https://bugzilla.gnome.org/show_bug.cgi?id=728426
Matthias Clasen [Tue, 15 Apr 2014 00:10:25 +0000 (17:10 -0700)]
DND: go back to a timeout for cancel animation
Using a tick callback does not really make sense here, since we
are not drawing in a window, but moving a toplevel around.
https://bugzilla.gnome.org/show_bug.cgi?id=728183
Matthias Clasen [Wed, 23 Apr 2014 03:08:43 +0000 (23:08 -0400)]
GtkFileChooserDialog: Avoid a bottom border in the dialog
We recently started to respect border-width on the action_area
again, so set its border-width to 0 so it doesn't get in the way.
https://bugzilla.gnome.org/show_bug.cgi?id=722211
William Jon McCann [Wed, 9 Apr 2014 18:30:37 +0000 (14:30 -0400)]
dialog: add a box around the action area to use for styling
If we want to set style properties that include the area
of the border-width part of action_area we need to use a
parent box.
https://bugzilla.gnome.org/show_bug.cgi?id=722211
William Jon McCann [Wed, 9 Apr 2014 17:49:54 +0000 (13:49 -0400)]
file-chooser: make enter location an operation mode
https://bugzilla.gnome.org/show_bug.cgi?id=722211
William Jon McCann [Wed, 9 Apr 2014 16:18:37 +0000 (12:18 -0400)]
file-chooser: merge path bar mode and location mode
https://bugzilla.gnome.org/show_bug.cgi?id=722211
William Jon McCann [Wed, 9 Apr 2014 16:00:08 +0000 (12:00 -0400)]
file-chooser: remove select a folder info message
https://bugzilla.gnome.org/show_bug.cgi?id=722211
William Jon McCann [Wed, 9 Apr 2014 15:50:42 +0000 (11:50 -0400)]
file-chooser: don't use an special label for recent
https://bugzilla.gnome.org/show_bug.cgi?id=722211
William Jon McCann [Wed, 9 Apr 2014 15:47:07 +0000 (11:47 -0400)]
file-chooser: add a search bar instead of using a path bar mode
https://bugzilla.gnome.org/show_bug.cgi?id=722211
William Jon McCann [Wed, 9 Apr 2014 14:54:00 +0000 (10:54 -0400)]
file-chooser: add sidebar class to sidebar
https://bugzilla.gnome.org/show_bug.cgi?id=722211
William Jon McCann [Tue, 8 Apr 2014 17:29:01 +0000 (13:29 -0400)]
file-chooser: style location bar as a search bar
So we get a nice bottom border etc.
https://bugzilla.gnome.org/show_bug.cgi?id=722211
William Jon McCann [Tue, 8 Apr 2014 17:26:08 +0000 (13:26 -0400)]
file-chooser: style save mode name box as a search bar
So we get a bottom border etc.
https://bugzilla.gnome.org/show_bug.cgi?id=722211
William Jon McCann [Tue, 8 Apr 2014 17:21:38 +0000 (13:21 -0400)]
file-chooser: don't show a "save folder:" label
https://bugzilla.gnome.org/show_bug.cgi?id=722211
William Jon McCann [Tue, 8 Apr 2014 17:13:01 +0000 (13:13 -0400)]
file-chooser: move location entry into same place as pathbar
https://bugzilla.gnome.org/show_bug.cgi?id=722211
William Jon McCann [Mon, 7 Apr 2014 22:43:28 +0000 (18:43 -0400)]
places-sidebar: add optional enter location place
https://bugzilla.gnome.org/show_bug.cgi?id=722211
William Jon McCann [Mon, 7 Apr 2014 21:55:08 +0000 (17:55 -0400)]
file-chooser: no shadow on scrolled window
https://bugzilla.gnome.org/show_bug.cgi?id=722211
William Jon McCann [Mon, 7 Apr 2014 21:52:20 +0000 (17:52 -0400)]
file-chooser: use an action bar for extra widgets area
https://bugzilla.gnome.org/show_bug.cgi?id=722211
William Jon McCann [Mon, 7 Apr 2014 21:18:56 +0000 (17:18 -0400)]
file-chooser: allow views to extend to the sides of the dialog
https://bugzilla.gnome.org/show_bug.cgi?id=722211
William Jon McCann [Mon, 7 Apr 2014 19:57:19 +0000 (15:57 -0400)]
file-chooser: move filter combo into extra area
https://bugzilla.gnome.org/show_bug.cgi?id=722211
William Jon McCann [Mon, 7 Apr 2014 19:16:21 +0000 (15:16 -0400)]
file-chooser: move pathbar into preview pane
https://bugzilla.gnome.org/show_bug.cgi?id=722211
William Jon McCann [Mon, 7 Apr 2014 19:00:01 +0000 (15:00 -0400)]
places-sidebar: use separators instead of heading labels
https://bugzilla.gnome.org/show_bug.cgi?id=722211
Jason Ekstrand [Wed, 23 Apr 2014 02:17:55 +0000 (21:17 -0500)]
Get rid of a stray character
Matthias Clasen [Wed, 23 Apr 2014 01:19:21 +0000 (21:19 -0400)]
csd: Fix drag hightlight drawing
When making the entire window a drop target, as file-roller does,
we don't want to draw the drag highlight around the CSD window
decorations.
https://bugzilla.gnome.org/show_bug.cgi?id=728526
Please enter the commit message for your changes. Lines starting
Victor Martinez [Sat, 12 Apr 2014 02:50:48 +0000 (20:50 -0600)]
Allow defining an invisible resize area for GtkPaned's handle.
This should allow theme developers to use a very small width for
the resize handle, but still let users easily move the handle by
defining a wider resize area.
The additional resize area follows the "margin" style property.
https://bugzilla.gnome.org/show_bug.cgi?id=728073
Jasper St. Pierre [Tue, 22 Apr 2014 23:16:48 +0000 (19:16 -0400)]
wayland: Map the window immediately on show
Jasper St. Pierre [Tue, 22 Apr 2014 23:16:26 +0000 (19:16 -0400)]
wayland: Remove useless hint set
Jasper St. Pierre [Tue, 22 Apr 2014 23:14:55 +0000 (19:14 -0400)]
wayland: Remove VISIBILITY_NOTIFY event
VISIBILITY_NOTIFY is already known to be unreliable.
Jasper St. Pierre [Sat, 12 Apr 2014 17:35:19 +0000 (10:35 -0700)]
gtk-demo: Make sure to clear the timeout when we stop it
Matthias Clasen [Tue, 22 Apr 2014 22:34:35 +0000 (18:34 -0400)]
GtkScaleButton: Don't specify a icon size of zero
This only works for scalable icons, but breaks if we fall
back to pngs.
Matthias Clasen [Tue, 22 Apr 2014 15:08:17 +0000 (11:08 -0400)]
Fix the build
Matthias Clasen [Tue, 22 Apr 2014 15:04:40 +0000 (11:04 -0400)]
Add a style class to model buttons
This will let us stop using the class name in Adwaita, and will
help with some future additions.
Volker Sobek [Mon, 21 Apr 2014 20:57:35 +0000 (22:57 +0200)]
docs: Fix parameter names for two functions
Don't use two different parameter names.
Yuri Myasoedov [Sun, 20 Apr 2014 11:18:10 +0000 (15:18 +0400)]
Fixed Russian translation
Christian Kirbach [Sat, 19 Apr 2014 11:58:38 +0000 (11:58 +0000)]
Updated German translation
Juan Pablo Ugarte [Fri, 11 Apr 2014 19:24:04 +0000 (16:24 -0300)]
Added bindings support to GtkBuilder by introducing 3 new <property> attributes "bind-source" to specify the source object of the binding "bind-property" to specify the source property and "bind-flags" to specify the binding flags (optional)
Binding an object sensitive property with a check button active property will look like this:
<object class="GtkButton" id="button">
<property name="sensitive" bind-source="checkbutton" bind-property="active"/>
</object>
This is based on the original work done by Denis Washington for his GSoC project
This closes Bug 654417 "[GSoC] Add <binding> element to GtkBuilder syntax"
Antoine Jacoutot [Thu, 17 Apr 2014 22:59:45 +0000 (00:59 +0200)]
broadway backend: allow building on OpenBSD
On OpenBSD shm_open(3) is part of libc and there is not librt, so add an
according check.
Check if we have posix_fallocate before using it.
https://bugzilla.gnome.org/show_bug.cgi?id=728272
Matthias Clasen [Thu, 17 Apr 2014 20:18:35 +0000 (13:18 -0700)]
example: Update screenshots
Matthias Clasen [Thu, 17 Apr 2014 19:43:17 +0000 (12:43 -0700)]
example: Use popover for gears menu
Matthias Clasen [Thu, 17 Apr 2014 19:39:07 +0000 (12:39 -0700)]
example: Make gears button square
Another application of image-button.
Matthias Clasen [Thu, 17 Apr 2014 19:37:51 +0000 (12:37 -0700)]
example: Make search button square
The image-button style class takes care of it.
Matthias Clasen [Thu, 17 Apr 2014 19:18:01 +0000 (12:18 -0700)]
example: Modernize the prefs dialog
We should show the current best practice for this kind of
dialog, and use a headerbar with a window close button.
Matthias Clasen [Thu, 17 Apr 2014 18:36:33 +0000 (11:36 -0700)]
example: Port to gtk_application_set_accels_for_action
Instead of hardcoding an accelerator in the ui file, use
gtk_application_set_accels_for_action.
Matthias Clasen [Thu, 17 Apr 2014 18:27:11 +0000 (11:27 -0700)]
example: Fix indentation
Matthias Clasen [Thu, 17 Apr 2014 18:11:17 +0000 (11:11 -0700)]
example: Fix up margins
This makes the code match what we show in the screenshots. This
broke when headerbars were changed to allow titles to extend into
the margin.
Matthias Clasen [Thu, 17 Apr 2014 17:52:50 +0000 (10:52 -0700)]
example: Don't set a nonexisting property
The GtkHeaderBar::show-fallback-app-menu property does not exist,
and isn't needed anyway.
Jasper St. Pierre [Thu, 17 Apr 2014 17:14:44 +0000 (13:14 -0400)]
wayland: The xdg_surface.delete event was renamed to close
Руслан Ижбулатов [Thu, 10 Apr 2014 20:05:19 +0000 (20:05 +0000)]
W32: correctly guess max window size from the size of the workarea of the screen it's on
Get monitor on which the most of the window is located (nearest monitor if
window is not on screen), get its work area (area not occupied by taskbar or
any other bars) and use that for maxsize.
Previous default of 30000 meant that windows maximized onto full screen,
even covering the area where taskbar is.
https://bugzilla.gnome.org/show_bug.cgi?id=726592
Evan Nemerson [Mon, 14 Apr 2014 09:26:51 +0000 (02:26 -0700)]
selection: mark targets param to gtk_target_list_new as allow-none
https://bugzilla.gnome.org/show_bug.cgi?id=728165
Bastien Nocera [Mon, 14 Apr 2014 14:40:20 +0000 (16:40 +0200)]
gtkapplication: Fix incorrect value passed to g_variant_new()
The code expected to format @u, not u.
https://bugzilla.gnome.org/show_bug.cgi?id=728140
Cosimo Cecchi [Sun, 4 Aug 2013 14:50:31 +0000 (16:50 +0200)]
iconhelper: always ensure a stated pixbuf
Even when we are set a pixbuf itself.
https://bugzilla.gnome.org/show_bug.cgi?id=726271
Marcus Karlsson [Sat, 12 Apr 2014 08:09:46 +0000 (10:09 +0200)]
GtkColorChooserWidget: Redraw swatches when selection changes
When selecting a swatch in a GtkColorChooserWidget the previously
selected swatch and the currently selected swatch are not redrawn. This
can leave the old swatch still marked with a checkbox even though a new
swatch has been selected.
Redraw the swatches after changing the selection.
https://bugzilla.gnome.org/show_bug.cgi?id=727487
Marcus Karlsson [Tue, 8 Apr 2014 20:40:01 +0000 (22:40 +0200)]
docs: fix GtkWidget::size-allocate description
The documentation for the GtkWidget::size-allocate signal is missing the
description of the "allocation" parameter. Add the missing description
to the parameter.
https://bugzilla.gnome.org/show_bug.cgi?id=726179
Sébastien Wilmet [Fri, 11 Apr 2014 15:45:50 +0000 (17:45 +0200)]
GtkTextView: use GSlice to allocate GtkTextLineSegment's
Use GSlice to allocate all types of segments:
- char
- toggle
- mark
- pixbuf
- child widget
Char segments are a bit more complicated because the length of the text
is determined at run time and stored in the 'byte_count' field. If the
text is long, GSlice will call the system malloc() anyway, so it's
better to always use GSlice for GtkTextLineSegment.
Toggle segments are also freed in gtktextbtree.c, hence the function
_gtk_toggle_segment_free() (for a later commit it would be nice to
rename those functions with the _gtk_text prefix).
https://bugzilla.gnome.org/show_bug.cgi?id=727908
Sébastien Wilmet [Wed, 9 Apr 2014 14:53:14 +0000 (16:53 +0200)]
textview: inline a function
gtk_text_view_move_cursor_internal() was exactly the same as
gtk_text_view_move_cursor(), and was called only in the latter function.
https://bugzilla.gnome.org/show_bug.cgi?id=727908
Sébastien Wilmet [Tue, 8 Apr 2014 20:43:25 +0000 (22:43 +0200)]
doc: improve documentation of gtk_text_iter_inside_word()
There is a possible confusion with the sentence:
"@iter is inside a natural-language word"
The iter should be viewed here as the pointed character (i.e. on the
right of the iter), not as a position between two characters.
Instead of improving the documentation, another solution would have been
to change the implementation so it is interpreted as an iter position
inside a word, i.e. between two characters that are part of a
natural-language word. But maybe some applications rely on the current
implementation.
https://bugzilla.gnome.org/show_bug.cgi?id=727908
Sébastien Wilmet [Tue, 8 Apr 2014 19:36:45 +0000 (21:36 +0200)]
tests textiter: test word boundaries
- As the tests show, some of the functions have a strange and
inconsistent behavior for corner cases.
- Rename test_full_buffer() -> test_search_full_buffer() because
textiter.c is used for other GtkTextIter unit tests.
https://bugzilla.gnome.org/show_bug.cgi?id=727908
Matthias Clasen [Sun, 13 Apr 2014 21:03:12 +0000 (14:03 -0700)]
listbox: Add tests for multi-selection
This was forgotten when the multi-selection API was added,
and it was promptly broken in some places.
Matthias Clasen [Sun, 13 Apr 2014 20:55:28 +0000 (13:55 -0700)]
list-box: Fix copy-paste error
The new function gtk_list_box_get_selected_rows was implemented
as gtk_list_box_get_selected_children.
Matthias Clasen [Sun, 13 Apr 2014 20:51:49 +0000 (13:51 -0700)]
listbox: Emit ::row-selected as we used to
The listbox selection test was failing because we were not
emitting these signals anymore.
Marcus Karlsson [Sat, 12 Apr 2014 18:22:15 +0000 (20:22 +0200)]
docs: Add missing transfer annotation to GtkBox
The gtk_box_get_center_widget function is missing a transfer annotation
for the returned widget. No transfer is done, so set transfer to none.
https://bugzilla.gnome.org/show_bug.cgi?id=728093
Matthias Clasen [Sun, 13 Apr 2014 05:13:40 +0000 (22:13 -0700)]
gtk-demo: Avoid a compiler warning
Matthias Clasen [Sun, 13 Apr 2014 05:13:14 +0000 (22:13 -0700)]
widget-factory: Clean up on shutdown
Matthias Clasen [Sun, 13 Apr 2014 05:12:38 +0000 (22:12 -0700)]
widget-factory: Remove unnecessary signal handlers
quitting the mainloop when none is running gives a critical
warning on shutdown.
Matthias Clasen [Sun, 13 Apr 2014 04:45:30 +0000 (21:45 -0700)]
widget-factory: Add a listbox example
Matthias Clasen [Sun, 13 Apr 2014 04:09:03 +0000 (21:09 -0700)]
widget-factory: Improve actionbar appearance
We are using the actionbar in the middle of the window, which
is not really what it is designed for. To avoid the unfinished
appearance on the sides, move it into the frame that we have
around the stack below. This fixes the sides, but gives the top
a double stroke. Too bad.
Matthias Clasen [Sun, 13 Apr 2014 03:46:17 +0000 (20:46 -0700)]
widget-factory: Avoid ugly resizing on map
The text view is resizing several times after the window is mapped.
Not setting a hscrollbar-policy of never avoids that, and a
scrollbar still doesn't appear. Magic
Matthias Clasen [Sun, 13 Apr 2014 03:39:26 +0000 (20:39 -0700)]
gtk-demo: Fix images demo
The incremental loading was broken by GtkIconHelper - queuing a
redraw is no longer sufficient to cause GtkImage to redraw with
the new pixbuf contents.
Pointed out by Jasper St. Pierre.
Matthias Clasen [Sun, 13 Apr 2014 01:42:29 +0000 (18:42 -0700)]
gtk-demo: Fix the links example
The keynav dialog is transient to the example window; since the
example window is now modal, we need to make the keynav dialog
modal as well, so it can receive input.
Problem pointed out by Jasper St. Pierre.
Jasper St. Pierre [Sat, 12 Apr 2014 00:02:45 +0000 (17:02 -0700)]
Remove gdk_synthesize_window_state from gdkinternals.h
It's already in gdkprivate.h
Jasper St. Pierre [Fri, 11 Apr 2014 23:55:37 +0000 (16:55 -0700)]
wayland: set_transient_for was renamed to set_parent
Jasper St. Pierre [Fri, 11 Apr 2014 23:53:05 +0000 (16:53 -0700)]
wayland: Don't pass dx/dy when we're resizing
They're ignored by the server.
Jasper St. Pierre [Sun, 23 Feb 2014 18:57:24 +0000 (13:57 -0500)]
wayland: Merge buffer implementations
Matthias Clasen [Sat, 5 Apr 2014 15:43:43 +0000 (11:43 -0400)]
window: Be more careful when propagating key events
We are keeping references on the widget we are handling as we
are iterating up, but that doesn't protect us against the entire
tree being axed from inside gtk_widget_handle_event.
https://bugzilla.gnome.org/show_bug.cgi?id=727644
Cosimo Cecchi [Fri, 11 Apr 2014 19:13:11 +0000 (12:13 -0700)]
entry: consider ascent and descent when requesting height
Commit
d05191a010bcd9871b0155a785989192967c692b change the height
requisition to be completely dependent on the PangoLayout, but that
breaks when the font has special characters with different metrics.
Use the maximum between the two instead.
https://bugzilla.gnome.org/show_bug.cgi?id=728054
Bastien Nocera [Fri, 11 Apr 2014 08:53:45 +0000 (10:53 +0200)]
gtkapplication: Fix passing NULL as the window to inhibit
gtk_application_inhibit() supports passing NULL, so don't
blindly pass the NULL window to
gtk_application_impl_dbus_get_window_system_id().
https://bugzilla.gnome.org/show_bug.cgi?id=728023
Matthias Clasen [Thu, 10 Apr 2014 22:50:51 +0000 (15:50 -0700)]
Update expected output for assistant a11y test
The headerbar and its content now shows up, as it should.
Matthias Clasen [Thu, 10 Apr 2014 21:22:46 +0000 (14:22 -0700)]
GtkAssistant: don't hide headerbar from a11y
GtkAssistant has its own accessible implementation, and we forgot
to update it when we added a headerbar.
Matthias Clasen [Thu, 10 Apr 2014 20:51:33 +0000 (13:51 -0700)]
GtkMessageDialog: Allow action-area-border theming again
This border does not interfere with headerbar-vs-content placement,
and we can allow themes to change it without breaking dialogs.
Matthias Clasen [Thu, 10 Apr 2014 20:49:07 +0000 (13:49 -0700)]
GtkDialog: fix up handling of style properties
The use of border-width-set here was an attempt to differentiate
between explicitly set (from code / ui files) border width from
theme changes. But when we are calling gtk_window_set_border_width
to apply the theme value, the -set property gets set, and all
further theme changes are ignored. This has the effect of only
letting the default value of these properties get applied.
Fix this by unsetting border-width-set after applying theme values.
Руслан Ижбулатов [Thu, 10 Apr 2014 17:59:48 +0000 (17:59 +0000)]
Revert "W32: RGBA GDK backend (broken)"
This reverts commit
f89d38bc2d139ae1baab5c25e1d6ac451a2d5a5e.
Pushed by accident.
Руслан Ижбулатов [Thu, 10 Apr 2014 17:59:21 +0000 (17:59 +0000)]
Revert "W32: Add a basic set of CSD styles"
This reverts commit
6e3e0dcd739bcf7ef549cecc0aa5061c794e14bb.
Pushed by accident.